package com.bidevalution.dao.mapper;

import com.bidevalution.dao.entity.BeExpertAdviceSummary;
import com.qtp.common.data.BaseDao;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author 查慧英
 * @date 2019-11-20 18:45
 */
@Repository
public class BeExpertAdviceSummaryMapper extends BaseDao<BeExpertAdviceSummary> {
    public BeExpertAdviceSummary getBeExpertAdviceSummary(Map<String, Object> params) {
        return this.getSqlSession().selectOne(this.sqlId("getBeExpertAdviceSummary"), params);
    }

    public List<Map<String,Object>> getUnpassedReasonList(Map<String, Object> params) {
        return this.getSqlSession().selectList(this.sqlId("getUnpassedReasonList"), params);
    }

    public Map<String,Object> getCandidate(Map<String, Object> params) {
        return this.getSqlSession().selectOne(this.sqlId("getCandidate"), params);
    }
}
